package com.xinzhidi.common.enums;

/**
 * 字典枚举
 *
 * @author ruoyi
 */
public enum DictTypeEnum {
    SYS_HEAT_METER("sys_heat_meter", "热计量方式"),
    CONTROL_METHOD("control_method", "调控方法"),
    protocolType("protocol_type", "协议类型"),
    ALAEM_LEVEL("alarm_level", "告警等级"),
    PROTOCOL_TYPE("protocol_type", "协议类型"),
    NULL("", "空");

    private final String code;
    private final String info;

    DictTypeEnum(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
